package com.bt.table.ppt;

/**
 * Spc_ret_chart_rawId entity. @author MyEclipse Persistence Tools
 */

public class Spc_ret_chart_rawId implements java.io.Serializable {

	// Fields

	private String col_typ_fk;
	private String grp_no_fk;
	private String sub_grp_no;
	private String chart_no_fk;
	private Double proc_time_d;
	private Integer prd_value_seq;

	// Constructors

	/** default constructor */
	public Spc_ret_chart_rawId() {
	}

	/** full constructor */
	public Spc_ret_chart_rawId(String col_typ_fk, String grp_no_fk,
			String sub_grp_no, String chart_no_fk, Double proc_time_d,
			Integer prd_value_seq) {
		this.col_typ_fk = col_typ_fk;
		this.grp_no_fk = grp_no_fk;
		this.sub_grp_no = sub_grp_no;
		this.chart_no_fk = chart_no_fk;
		this.proc_time_d = proc_time_d;
		this.prd_value_seq = prd_value_seq;
	}

	// Property accessors

	public String getCol_typ_fk() {
		return this.col_typ_fk;
	}

	public void setCol_typ_fk(String col_typ_fk) {
		this.col_typ_fk = col_typ_fk;
	}

	public String getGrp_no_fk() {
		return this.grp_no_fk;
	}

	public void setGrp_no_fk(String grp_no_fk) {
		this.grp_no_fk = grp_no_fk;
	}

	public String getSub_grp_no() {
		return this.sub_grp_no;
	}

	public void setSub_grp_no(String sub_grp_no) {
		this.sub_grp_no = sub_grp_no;
	}

	public String getChart_no_fk() {
		return this.chart_no_fk;
	}

	public void setChart_no_fk(String chart_no_fk) {
		this.chart_no_fk = chart_no_fk;
	}

	public Double getProc_time_d() {
		return this.proc_time_d;
	}

	public void setProc_time_d(Double proc_time_d) {
		this.proc_time_d = proc_time_d;
	}

	public Integer getPrd_value_seq() {
		return this.prd_value_seq;
	}

	public void setPrd_value_seq(Integer prd_value_seq) {
		this.prd_value_seq = prd_value_seq;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Spc_ret_chart_rawId))
			return false;
		Spc_ret_chart_rawId castOther = (Spc_ret_chart_rawId) other;

		return ((this.getCol_typ_fk() == castOther.getCol_typ_fk()) || (this
				.getCol_typ_fk() != null && castOther.getCol_typ_fk() != null && this
				.getCol_typ_fk().equals(castOther.getCol_typ_fk())))
				&& ((this.getGrp_no_fk() == castOther.getGrp_no_fk()) || (this
						.getGrp_no_fk() != null
						&& castOther.getGrp_no_fk() != null && this
						.getGrp_no_fk().equals(castOther.getGrp_no_fk())))
				&& ((this.getSub_grp_no() == castOther.getSub_grp_no()) || (this
						.getSub_grp_no() != null
						&& castOther.getSub_grp_no() != null && this
						.getSub_grp_no().equals(castOther.getSub_grp_no())))
				&& ((this.getChart_no_fk() == castOther.getChart_no_fk()) || (this
						.getChart_no_fk() != null
						&& castOther.getChart_no_fk() != null && this
						.getChart_no_fk().equals(castOther.getChart_no_fk())))
				&& ((this.getProc_time_d() == castOther.getProc_time_d()) || (this
						.getProc_time_d() != null
						&& castOther.getProc_time_d() != null && this
						.getProc_time_d().equals(castOther.getProc_time_d())))
				&& ((this.getPrd_value_seq() == castOther.getPrd_value_seq()) || (this
						.getPrd_value_seq() != null
						&& castOther.getPrd_value_seq() != null && this
						.getPrd_value_seq()
						.equals(castOther.getPrd_value_seq())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getCol_typ_fk() == null ? 0 : this.getCol_typ_fk()
						.hashCode());
		result = 37 * result
				+ (getGrp_no_fk() == null ? 0 : this.getGrp_no_fk().hashCode());
		result = 37
				* result
				+ (getSub_grp_no() == null ? 0 : this.getSub_grp_no()
						.hashCode());
		result = 37
				* result
				+ (getChart_no_fk() == null ? 0 : this.getChart_no_fk()
						.hashCode());
		result = 37
				* result
				+ (getProc_time_d() == null ? 0 : this.getProc_time_d()
						.hashCode());
		result = 37
				* result
				+ (getPrd_value_seq() == null ? 0 : this.getPrd_value_seq()
						.hashCode());
		return result;
	}

}